import request from '@/util/request'

export const getMyArticles = (userId) => {
	return request({
		url: '/article/list/' + userId,
		method: 'get',
	})
}

export const doDeleteArticle = (articleId) => {
	return request({
		url: '/article/delete/' + articleId,
		method: 'post',
	})
}

